home *** CD-ROM | disk | FTP | other *** search
/ The 640 MEG Shareware Studio 2 / The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO / batch / break12.zip / BREAK.DOC next >
Text File  |  1992-02-03  |  7KB  |  193 lines

  1.  
  2. BREAK.SYS Version 1.2
  3.  
  4. Copyright 1992 by Marc Perkel - All Rights Reserved
  5.  
  6. This little goody keeps people from breaking out of batch files. Works
  7. great for 0k menu systems like MarxMenu.
  8.  
  9. Unlike all the other similar programs this one is smart. It only kills
  10. CTRL-C if your in COMMAND.COM but allows your applications to see
  11. CTRL-C. And, it only uses about 400 bytes of ram.
  12.  
  13. All you have to do is add a line to your CONFIG.SYS file:
  14.  
  15. DEVICE=BREAK.SYS
  16.  
  17. If your using BREAK.SYS with QEMM or other memory manager, load the
  18. memory manager first.
  19.  
  20. BREAK.SYS can be enabled or disabled by using the BREAK ON and BREAK OFF
  21. commands either from the command line or from batch files.
  22.  
  23. Advanced Features:
  24.  
  25. Although BREAK.SYS is better than DOS, it isn't perfect. There are still
  26. situations where you can break out of batch files. If it is important to
  27. not break out then you can use it as follows:
  28.  
  29. DEVICE=BREAK.SYS /C
  30.  
  31. Using it this way the CTRL-C key is disabled completely. Your
  32. application software will not get any CTRL-C.
  33.  
  34. BREAK.SYS has another switch /T that works like /C except that once you
  35. execute BREAK ON then it returns to smart CTRL-C handling. The idea here
  36. is that more often you need bullet proof protection while the system is
  37. booting up, but after going to the main menu you can switch to smart
  38. protection. At the end of your bootup batch files add the lines:
  39.  
  40. BREAK ON
  41. BREAK OFF
  42.  
  43. This will switch BREAK.SYS into smart mode checking.
  44.  
  45. Another trick to help keep people from breaking out to the command line
  46. is setting the shell statement in the CONFIG.SYS file as follows:
  47.  
  48. SHELL=COMMAND.COM /E:400 /C AUTOEXEC.BAT
  49.  
  50. With this command, if they get out of the batch file it locks the
  51. system up. In some cases this is better than letting the user get access
  52. to the command line.
  53.  
  54. BREAK.SYS has another feature that makes BREAK ON work better. If you
  55. use it like this:
  56.  
  57. DEVICE=BREAK.SYS /B
  58.  
  59. Then when you run BREAK ON and the users presses CTRL-\ it will break
  60. you out of programs you might otherwise be stuck in. This feature is
  61. great for software developers to use when testing code.
  62.  
  63.  
  64. This program is cheap too. Only $25 / File Server or $250 unlimited.
  65.  
  66. Computer Tyme also has a program called COMSP which prevents users from
  67. shelling to dos from within an application.
  68.  
  69.  
  70. This program is included free with the Network Survival Kit.
  71.  
  72.  
  73.    Other Computer Tyme Software:
  74.    ======================================================
  75.  
  76.    The Computer Tyme Dos ToolBox... Makes DOS easier for the novice,
  77.    more powerful for the professional.
  78.  
  79.    DIRECTORY MASTER is a powerful hard disk managment utility. It
  80.    brings up your hard disk files and allows you to mark selected
  81.    files so you can copy them, delete them, or move them. It also
  82.    allows you to rename files, change dates, and change attributes.
  83.    You can also run programs or set up your function keys to run
  84.    programs on selected files.
  85.  
  86.    DOLIST makes being at DOS easier. It gives you full line editing,
  87.    like a word processor, for your commands. It also stores commands
  88.    so that you can re-execute them. It remembers subdirectories and
  89.    allows you to go back to them by pressing the TAB key. It offers
  90.    programmable function keys, DOS extensions, multiple execution,
  91.    and many more features you have got to have.
  92.  
  93.    PICK DIRECTORY allows you to move through the directory system by
  94.    displaying a graphic tree and letting you use your arrow keys to
  95.    move around. It also lets you create, delete, rename, and hide
  96.    directories.
  97.  
  98.    MARXTSR is a set of memory and TSR management utilities that let
  99.    you load and unload TSRs (Terminate and stay resident programs)
  100.    from memory. Utilities to list menory allocation and turn TSR's
  101.    on and off.
  102.  
  103.    And many more ... Also includes is D, a fancy directory listing
  104.    program; WHEREIS, for finding stuff on you hard disk, SORT, MOVE,
  105.    FIND, FREE, PIPEDIR, VERSION, and many more.
  106.  
  107.    The Dos Toolbox sells for $59.95.
  108.  
  109.    ======================================================
  110.  
  111.    We are also selling QEdit from Semware. QEdit is a professional
  112.    editor from Semware.
  113.  
  114.    1-800-548-5353 Order Line
  115.    1-417-866-1222 Voice Line
  116.    1-417-866-1665 BBS Data line * 1200/2400 * 8N1 * ANSI or VT100
  117.  
  118.    MarxMenu comes with MarxEdit and MARXTSR manager and a few goodies out of
  119.    the DOS ToolBox. The Network Survival Kit is a network version of almost
  120.    every utility I've ever written. It's sold on a per fileserver basis.
  121.  
  122.                  _______
  123.             ____|__     |               (tm)
  124.          --|       |    |-------------------
  125.            |   ____|__  |  Association of
  126.            |  |       |_|  Shareware
  127.            |__|   o   |    Professionals
  128.          -----|   |   |---------------------
  129.               |___|___|    APPROVED VENDOR
  130.  
  131.       ==========================================
  132.  
  133.  
  134.  
  135.  
  136.  
  137.  
  138.  
  139.         Make Check            Computer Tyme            Order Form 2.36
  140.         Payable To:    411 North Sherman Suite 300
  141.                           Springfield Mo. 65802
  142.                      (417) 866-1222  (800) 548-5353
  143.  
  144.         Please send me Computer Tyme Software.
  145.  
  146.         =============================================================
  147.  
  148.         Name:        ________________________________________________
  149.  
  150.         Address:     ________________________________________________
  151.  
  152.         City/St/Zip: ________________________________________________
  153.  
  154.         Phone:       ________________________________________________
  155.  
  156.         Computer:    ________________________________________________
  157.  
  158.         Got From:    ________________________________________________
  159.  
  160.         Comments:    ________________________________________________
  161.  
  162.                      ________________________________________________
  163.  
  164.  
  165.         Single User Version:
  166.  
  167.         ___ Enclosed is $59.95 for MarxMenu.
  168.  
  169.         ___ Enclosed is $59.95 for the DOS ToolBox.
  170.  
  171.         ___ Enclosed is $99.95 for MarxMenu, the Dos ToolBox and DM3.
  172.  
  173.  
  174.         Network Version (1 per file server):
  175.  
  176.         ___ Enclosed is $495 for Network Survival Kit.
  177.  
  178.         ___ Add $3.00 for Shipping and Handling.
  179.  
  180.         ___ I need 3 1/2 Inch Media.
  181.  
  182.  
  183.         Credit Card Number: _______________ Expiration Date: ________
  184.  
  185.         Signature: __________________________________________________
  186.  
  187.         Master Card __   Visa __   Discover __
  188.  
  189.                     * We do not take American Express *
  190.  
  191.         =============================================================
  192.  
  193.